package com.ruoyi.system.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 商品购物车对象 goodtable_cart
 * 
 * @author jlx
 * @date 2024-02-21
 */
public class GoodtableCart extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long id;

    /** 产品名称 */
    @Excel(name = "产品名称")
    private String title;

    /** 产品描述 */
    private String mydescribe;

    /** 价格 */
    @Excel(name = "价格")
    private BigDecimal price;

    /** 数量 */
    @Excel(name = "数量")
    private Long num;

    /** 图片 */
    @Excel(name = "图片")
    private String img;

    /** 说明 */
    private String memo;

    /** 点击数 */
    @Excel(name = "点击数")
    private Long clicknum;

    /** 商品类别 */
    @Excel(name = "商品类别")
    private String goodtype;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    /** 商品id */
    private Long goodid;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setMydescribe(String mydescribe) 
    {
        this.mydescribe = mydescribe;
    }

    public String getMydescribe() 
    {
        return mydescribe;
    }
    public void setPrice(BigDecimal price) 
    {
        this.price = price;
    }

    public BigDecimal getPrice() 
    {
        return price;
    }
    public void setNum(Long num) 
    {
        this.num = num;
    }

    public Long getNum() 
    {
        return num;
    }
    public void setImg(String img) 
    {
        this.img = img;
    }

    public String getImg() 
    {
        return img;
    }
    public void setMemo(String memo) 
    {
        this.memo = memo;
    }

    public String getMemo() 
    {
        return memo;
    }
    public void setClicknum(Long clicknum) 
    {
        this.clicknum = clicknum;
    }

    public Long getClicknum() 
    {
        return clicknum;
    }
    public void setGoodtype(String goodtype) 
    {
        this.goodtype = goodtype;
    }

    public String getGoodtype() 
    {
        return goodtype;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setGoodid(Long goodid) 
    {
        this.goodid = goodid;
    }

    public Long getGoodid() 
    {
        return goodid;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("title", getTitle())
            .append("mydescribe", getMydescribe())
            .append("price", getPrice())
            .append("num", getNum())
            .append("img", getImg())
            .append("memo", getMemo())
            .append("clicknum", getClicknum())
            .append("goodtype", getGoodtype())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("status", getStatus())
            .append("goodid", getGoodid())
            .toString();
    }
}
